/**
 * 
 */
package com.nervytech.tutorcruise.db.dao.model;

import java.io.Serializable;

/**
 * @author ADMIN
 * 
 */
public class Currency implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8906922956173658339L;
	private int currencyId;
	private String code;
	private String name;

	/**
	 * @return the currencyId
	 */
	public int getCurrencyId() {
		return currencyId;
	}

	/**
	 * @param currencyId
	 *            the currencyId to set
	 */
	public void setCurrencyId(int currencyId) {
		this.currencyId = currencyId;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Currency [currencyId=").append(currencyId)
				.append(", code=").append(code).append(", name=").append(name)
				.append("]");
		return builder.toString();
	}

}
